package com.batsoft.trade.disruptor;

import com.batsoft.trade.disruptor.opp.OppDataEventHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author <a href="mailto:hellohesir@gmail.com">Mr_He</a>
 * 2019/8/27 13:51
 */
@Configuration
public class DisruptorConfig {

    @Bean
    public OppDataEventHandler oppDataEventHandler1() {
        return new OppDataEventHandler();
    }

    @Bean
    public OppDataEventHandler oppDataEventHandler2() {
        return new OppDataEventHandler();
    }

}